projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d5dd8
)
testsuite: Fix a leak
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 22 Jan 2021 16:50:04 +0000
(11:50 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 22 Jan 2021 16:50:04 +0000
(11:50 -0500)
asan pointed out that the array tests leak.
testsuite/gdk/arrayimpl.c
patch
|
blob
|
history
diff --git
a/testsuite/gdk/arrayimpl.c
b/testsuite/gdk/arrayimpl.c
index 77494fbf7042ee268536e7e132226de2da6d3896..3c3ebb992d24d7802d7e61362f4bf64ca38f6884 100644
(file)
--- a/
testsuite/gdk/arrayimpl.c
+++ b/
testsuite/gdk/arrayimpl.c
@@
-100,6
+100,8
@@
gdk_array(test_splice) (void)
sum -= gdk_array(get) (&v, i);
}
g_assert_cmpint (sum, ==, 0);
+
+ gdk_array(clear) (&v);
}
#undef _T_